<template>
<div class="register">
  <el-form ref="form" :model="form" label-width="80px">
    <el-form-item label="用户名">
      <el-input v-model="form.username"></el-input>
    </el-form-item>
    <el-form-item label="密码">
      <el-input v-model="form.password" show-password></el-input>
    </el-form-item>
    <el-button type="primary" style="text-align: center" @click="login">登录</el-button>
  </el-form>
</div>
</template>

<script>


export default {
  computed: {

  },
  data() {
    return {
      form: {
        username:null,
        password:null
      },
      methods: {
        login(){

        }
      },
      mounted() {
      }
    }
  }
}
</script>
<style rel="stylesheet/scss" lang="scss">
.register{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  background-size: cover;
}
</style>
